﻿using DotNet.Utilities;
using JinfuyuanProject.Entity;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace JinfuyuanProject.Service.Interface
{
    public interface IParturientService
    {
        /// <summary>
        /// 获取学生列表
        /// </summary>
        /// <returns></returns>
        IQueryable<Parturient> GetList();
        /// <summary>
        /// 获取学生信息
        /// </summary>
        /// <param name="Id"></param>
        /// <returns></returns>
        Parturient GetModel(int Id);
        /// <summary>
        /// 删除学生
        /// </summary>
        /// <param name="Parturient"></param>
        /// <returns></returns>
        bool Delete(Parturient Parturient);
        /// <summary>
        /// 添加学生
        /// </summary>
        /// <param name="Parturient"></param>
        /// <returns></returns>        int Insert(Parturient Parturient);
        bool Update(Parturient Parturient);
        ResMessage CreateMother(Parturient parturient, List<Baby> babies, Contract contract, string SalesmanNumbers);
        ResMessage GenerateDocument(Parturient parturient, List<Baby> babies, string PackagePrice, string templatePath, string outputPath);
        Hashtable GetPmessger(string keywords);
    }
}
